package com.example.bingobox.model;

import java.util.List;
import java.util.ArrayList;

public class TodoBoxData {
    private List<Task> tasks = new ArrayList<>();
    private List<TodoBox> todoBoxes = new ArrayList<>();
    private List<String> scenes = new ArrayList<>();
    private List<String> currentScene = new ArrayList<>();
    private List<Label> labels = new ArrayList<>();

    public TodoBoxData() {
        this.todoBoxes = new ArrayList<>();
        this.tasks = new ArrayList<>();
        this.scenes = new ArrayList<>();
        this.currentScene = new ArrayList<>();
        this.labels = new ArrayList<>();
    }

    public TodoBoxData(List<TodoBox> todoBoxes, List<Task> tasks) {
        this.todoBoxes = todoBoxes;
        this.tasks = tasks;
        this.scenes = new ArrayList<>();
        this.currentScene = new ArrayList<>();
        this.labels = new ArrayList<>();
    }

    public List<Task> getTasks() {
        return tasks;
    }

    public void setTasks(List<Task> tasks) {
        this.tasks = tasks != null ? tasks : new ArrayList<>();
    }

    public List<TodoBox> getTodoBoxes() {
        return todoBoxes;
    }

    public void setTodoBoxes(List<TodoBox> todoBoxes) {
        this.todoBoxes = todoBoxes != null ? todoBoxes : new ArrayList<>();
    }

    public List<String> getScenes() {
        return scenes;
    }

    public void setScenes(List<String> scenes) {
        this.scenes = scenes != null ? scenes : new ArrayList<>();
    }

    public List<String> getCurrentScene() {
        return currentScene;
    }

    public void setCurrentScene(List<String> currentScene) {
        this.currentScene = currentScene != null ? currentScene : new ArrayList<>();
    }

    public List<Label> getLabels() {
        return labels;
    }

    public void setLabels(List<Label> labels) {
        this.labels = labels != null ? labels : new ArrayList<>();
    }
} 